<select name="<?php echo $ckey;?>">
    <?php foreach ($options as $v):?>
        <option value="<?php echo $v[0];?>" <?php if ($originval == $v[0]):?>selected<?php endif;?>>
            <?php echo $v[1];?>
        </option>
    <?php endforeach;?>
</select>